﻿using System;
using System.Collections.Generic;
using System.DirectoryServices.AccountManagement;

namespace ECube.SEC.Models
{
    public class ADUser
    {
        public DateTime? AccountExpirationDate{get;set;}       
        public DateTime? AccountLockoutTime{get;set;}            
        public bool AllowReversiblePasswordEncryption{get;set;}  
        public int BadLogonCount{get;set;}  
        public bool DelegationPermitted{get;set;}  
        public string Description{get;set;}  
        public string DisplayName{get;set;}  
        public string DistinguishedName{get;set;}  
        public string EmailAddress{get;set;}  
        public string EmployeeId{get;set;}  
        public bool? Enabled{get;set;}  
        public string GivenName{get;set;}  
        public Guid? Guid{get;set;}  
        public string HomeDirectory{get;set;}  
        public string HomeDrive{get;set;}  
        public DateTime? LastBadPasswordAttempt{get;set;}  
        public DateTime? LastLogon{get;set;}  
        public DateTime? LastPasswordSet{get;set;}  
        public string MiddleName{get;set;}  
        public string Name{get;set;}  
        public bool PasswordNeverExpires{get;set;}  
        public bool PasswordNotRequired{get;set;}  
        public byte[] PermittedLogonTimes{get;set;}         
        public string SamAccountName{get;set;}  
        public string ScriptPath{get;set;}  
        public bool SmartcardLogonRequired{get;set;}  
        public string StructuralObjectClass{get;set;}  
        public string Surname{get;set;}  
        public bool UserCannotChangePassword{get;set;}  
        public string UserPrincipalName{get;set;}  
        public string VoiceTelephoneNumber{get;set;}  

    }
}
